<%@ page contentType="text/html; charset=UTF-8"  %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <title>Sign On</title>
    <style type="text/css">
    	#loading-mask{
	        background-color:white;
	        height:100%;
	        position:absolute;
	        left:0;
	        top:0;
	        width:100%;
	        z-index:20000;
	    }
		#loading{
		    height:auto;
		    position:absolute;
		    left:40%;
		    top:40%;
		    padding:2px;
		    z-index:20001;
		}
	    #loading a {
	        color:#225588;
	    }
	    #loading .loading-indicator{
	        background:white;
	        color:#444;
	        font:bold 13px Helvetica, Arial, sans-serif;
	        height:auto;
	        margin:0;
	        padding:10px;
	    }
	    #loading-msg {
	        font-size: 10px;
	        font-weight: normal;
	    }
	</style>
</head>
<body>
	<div id="loading-mask" style=""></div>
	<div id="loading">
		<div class="loading-indicator">
			<img src="<%=path%>/commons/extjs4/shared/extjs/images/extanim32.gif" width="32" height="32" style="margin-right:8px;float:left;vertical-align:top;" />
			Horse Business Process Management System
			<br /><span id="loading-msg">加载样式和图片...</span>
		</div>
	</div>
	<div id="bd">
		<!-- ExtJs4 Css文件 -->
		<link type="text/css" href="<%=path %>/commons/extjs4/resources/css/ext-all.css" rel="stylesheet"/> 
		<script type="text/javascript">document.getElementById('loading-msg').innerHTML = '加载核心...';</script>
		<script type="text/javascript" src="<%=path %>/commons/extjs4/ext-all.js"></script>
	    <script type="text/javascript" src="<%=path %>/commons/extjs4/locale/ext-lang-zh_CN.js"></script>
		<script type="text/javascript">document.getElementById('loading-msg').innerHTML = '加载UI组件...';</script>
	    
	    
		<!-- Apps javascript files -->
		<script type="text/javascript">document.getElementById('loading-msg').innerHTML = '模块初始化...';</script>
		<script type="text/javascript" src="<%=path %>/view/init.js"></script>
	</div>
</body>
</html>
